package com.helloworld.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
	@RequestMapping("/greeting1")
	public String hello()
	{
		return "LOVE WORLD";
	}
	//在这个链接上面显示return的语句（RestController显示return返回的东西）
}
